import request from '@/utils/request'

// 获取商品列表
export function getGoodsSelector () {
    return request({
        url: `/api/services/goods/selector`,
        method: 'GET'
    })
}
export function getGoodsCategory () {
  return request({
    url: `/api/services/goods/category`,
    method: 'GET'
  })
}
export function getGoodsType (type) {
  return request({
    url: `/api/services/goods/${type}/type`,
    method: 'GET'
  })
}

export function getGoodsSelectorDetails (brand) {
  return request({
    url: `/api/services/goods/selector/${brand}`,
    method: 'GET'
  })
}
